﻿using Admin40000.Domain.Entity;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Admin40000.Domain
{
    public class Admin40000DbContext : DbContext
    {
        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) 
        {
            optionsBuilder.UseSqlServer("server=.;database=Admin40000;uid=sa;password=123456;");
        }

        public DbSet<Product> Products { get; set; }

        public DbSet<Brand> Brands { get; set; }


    }
}
